package proxy.dynamic;

import proxy.Subject;
import proxy.User;

public class DynamicRealSubject implements Subject {
    User user;

    public DynamicRealSubject(User user) {
        this.user = user;
    }

    @Override
    public User getUser() {
        return user;
    }

    @Override
    public void setUser(User user) {
        this.user = user;
    }
}
